home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
olrdrs
/
qprn112.zip
/
QWKPRUNE.DOC
< prev
next >
Wrap
Text File
|
1994-05-12
|
27KB
|
591 lines
QWKPRUNE 1.12
-----
A utility to remove unwanted messages from QWK-format mail packets.
QWKPRUNE.EXE, KILLMSG.EXE, ZIPPYZAP.EXE, this documentation, and all
associated documentation are Copyright (c) 1992-1994. SAVEQWK.EXE and
MKPRN.EXE, are Copyright (c) 1992, 1993. KMSG-D2.EXE and VIDGRAB.EXE
are Copyright (c) 1993, 1994. FILGRAB.EXE is Copyright (c) 1994 by David
Harden. All rights reserved.
PARM.EXE is hereby released into the public domain.
The code used to qualify filenames is based on QFN.C by Ray Duncan.
The original code was published in Vol. 7, No. 14 of PC Magazine, and is
copyrighted by Ziff-Davis.
Autodetection of LHA and ZOO files is based on information from GUS
(General Unpack Shell) version 1.70, by Johan Zwiekhorst.
All brand or product names mentioned in this documentation or any
associated files are trademarks or registered trademarks of their
respective owners. All products mentioned are copyrighted by their
respective owners. My use of these trademarks does not imply that their
owners have endorsed QWKPRUNE, nor does it imply that I have endorsed
their products.
QWKPRUNE should not be confused with QWKMerge, which is a trademark and
copyrighted product of Mike King. QWKPRUNE and David Harden are not
affiliated with Mike King.
See LICENSE.DOC for license and registration information.
Disclaimer of Liability
-----
There is no warranty of any kind, either express or implied, covering
this software or any associated materials. This software and all
associated materials are provided as is, use them at your own risk.
The copyright holder is in no way responsible or liable for any losses or
damages of any kind that may result from the use of this software or any
associated materials, or from inability to use them.
System requirements
DOS 3.x or higher is preferred. I see no reason why this program
shouldn't work with DOS 2.x, but this hasn't been tested.
How much memory is required depends on how many messages are to be
processed. Approximately 211K free RAM is needed to process 400
messages. If either the /T or /TQ command line switches are used, this
drops to 147K, as the 64K write buffer won't be allocated.
QWKPRUNE will attempt to allocate enough memory to store data from all
the message headers. 400 messages require 42K of RAM for storage. If
there's not enough memory to store all the header data, and an overflow
directory has been defined, QWKPRUNE will store the data in that
directory. In this case, there must be enough free RAM to store the
header data from all the messages in the largest conference.
What does it do?
-----
Removes unwanted messages from QWK-format mail packets based on the
contents of their message headers. The modified packet can either be
repacked or fed into a mail reader or other QWK utility. See READER.DOC
for more details.
An "unkill" option allows flexibility in deciding which messages are
pruned out.
Removes (R) and Re: prefixes, as well as leading whitespace, from
the subject field of messages. Up to ten additional user-defined
prefixes can also be stripped from subject lines.
Can tag messages for processing by programs such as KingQWK and QWKMerge.
Transparently repairs conference numbers in packets from older doors that
pad the conference number with a space. Repairs "garbage" conference
numbers in packets from Virtual QWK.
Fixes null-terminated string fields in message headers. Also fixes
headers in which the To: and From: fields are terminated with linefeed
characters.
"Untrashes" QWK packets altered by EZ-RDR.
How to install it
-----
Place QWKPRUNE.EXE in a directory on your DOS path. Use your editor
to create the needed control files (see below). That's all.
Files
-----
QWKPRUNE's configuration and prune files are ASCII text files that may be
created and modified by any text editor, or by a word processor in
nondocument mode. Lines may be up to 99 characters long, but usually
shouldn't need to be that long. Any line that begins with a semicolon
will be treated as a comment, and its contents will be ignored.
The configuration file
-----
The configuration file is named QWKPRUNE.CFG, and is located in the same
directory as QWKPRUNE.EXE. A configuration file may look something like
this:
ZIP = pkzip
UNZIP = pkunzip
LHA = lha a /m
UNLHA = lha e
ARJ = arj a -e
UNARJ = arj e
ZOO = zoo -add %q *
UNZOO = zoo -extract %q *
USER_PACK = pkpak -a
USER_UNPACK = pkunpak
QWK = c:\download\qwk
WORK = c:\
PRUNE = c:\prune
GLOBAL = global.prn
STRIP = Re :, Re(2):, Re ,
SPILL = d:\
MAX_QWK_AGE = 0
FORCE_REPACK = ON
USE_MESSAGE_COUNTS = OFF
KEEP_NETSTATUS = OFF
QWKPRUNE will automatically detect ZIP, LHA, ARJ, and ZOO files.
USER_PACK and USER_UNPACK are commands to pack and unpack files
compressed with another archiver. In these entries, %q may be used as a
substitute for the QWK file name. If %q isn't used, QWKPRUNE assumes
that the QWK file name is at the end of the command.
QWK is the directory where you want QWKPRUNE to look for QWK files. WORK
is the directory where QWKPRUNE will create its work directory. A
directory named QP$WORK will be created under this directory. PRUNE is
the default directory where prune files are located. GLOBAL is the name
of a global prune file, which will be used for all QWK packets. If
GLOBAL is not specified, a global prune file will not be used. (See the
section on prune files for more details on this file.)
SPILL is the directory where QWKPRUNE will create its overflow directory.
If necessary, a directory named QP$SPILL will be created under this
directory. If there's not enough space in the work directory to rebuild
MESSAGES.DAT, it will be rebuilt there. The new MESSAGES.DAT will then
copied to the work directory. If there's not enough free RAM to store
the data from all the message headers, QWKPRUNE will store this data
data in the QP$SPILL directory. If SPILL hasn't been set in the config
file, or if it's set to a nonexistent directory, QWKPRUNE will read the
TEMP environment variable.
STRIP is the list of prefixes, other than (R) and Re:, that you want to
strip from subject lines. Up to ten prefixes may be specified, and
individual prefixes may be up to twelve characters long. Prefixes may
have trailing spaces. The list may end with a comma, but doesn't have to
unless the last prefix has trailing spaces. Case is not significant.
If FORCE_REPACK is set to either ON or YES, QWKPRUNE will always repack
QWKs, even if they haven't been changed.
If MAX_QWK_AGE is set to a number, QWKs more than that many days old
won't be processed if wildcards are used in the QWK file name or the
default (*.Q*) is used. For example, MAX_QWK_AGE = 0 limits processing
to packets with the current date.
If USE_MESSAGE_COUNTS is set to ON or YES, message counts will be added
to MESSAGES.DAT and CONTROL.DAT if MESSAGES.DAT is rebuilt. If it's set
to OFF or NO, and a message count is in CONTROL.DAT, that count will be
set to zero if MESSAGES.DAT is rebuilt.
If KEEP_NETSTATUS is set to OFF or NO, Net Status blocks at the end of
MESSAGES.DAT will be discarded if MESSAGES.DAT is rebuilt. The default
is to keep Net Status blocks. QWKPRUNE preserves Net Status blocks by
copying everything past the end of the last indexed message to the new
MESSAGES.DAT file. If some .NDX f